import Mock from 'mockjs'
// 首页轮播图下面的导航
Mock.mock('/api/navs', 'get', function () {
  return Mock.mock({
    code: 200,
    data: {
      list: [
        {
          id: 1,
          name: '热门好课',
          image: require('../../src/assets/navs1.jpg'),
        },
        {
          id: 2,
          name: '免费专区',
          image: require('../../src/assets/navs2.jpg'),
        },
        {
          id: 3,
          name: '限时优惠',
          image: require('../../src/assets/navs3.jpg'),
        },
        {
          id: 4,
          name: '精品课程',
          image: require('../../src/assets/navs4.jpg'),
        },
      ],
    },
  })
})
